using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Crossborder.Web.MinimalApi.Endpoint;

namespace Crossborder.Web.MinimalApi
{
    public static class BaseMinimalApi
    {
        public static void UseMinimalApiExtension(this WebApplication app)
        {
            app.UseUserEndpoint();
            app.UseProductEndpoint();
            app.UseOrderEndpoint();
            app.UseShoppingCartEndpoint();
        }
    }
}